merging two arrays using spread operator